home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / complib / slargv.z / slargv
Text File  |  1998-10-30  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. SSSSLLLLAAAARRRRGGGGVVVV((((3333FFFF))))                                                          SSSSLLLLAAAARRRRGGGGVVVV((((3333FFFF))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      SLARGV - generate a vector of real plane rotations, determined by
  10.      elements of the real vectors x and y
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE SLARGV( N, X, INCX, Y, INCY, C, INCC )
  14.  
  15.          INTEGER        INCC, INCX, INCY, N
  16.  
  17.          REAL           C( * ), X( * ), Y( * )
  18.  
  19. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  20.      SLARGV generates a vector of real plane rotations, determined by elements
  21.      of the real vectors x and y. For i = 1,2,...,n
  22.  
  23.         (  c(i)  s(i) ) ( x(i) ) = ( a(i) )
  24.         ( -s(i)  c(i) ) ( y(i) ) = (   0  )
  25.  
  26.  
  27. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  28.      N       (input) INTEGER
  29.              The number of plane rotations to be generated.
  30.  
  31.      X       (input/output) REAL array,
  32.              dimension (1+(N-1)*INCX) On entry, the vector x.  On exit, x(i)
  33.              is overwritten by a(i), for i = 1,...,n.
  34.  
  35.      INCX    (input) INTEGER
  36.              The increment between elements of X. INCX > 0.
  37.  
  38.      Y       (input/output) REAL array,
  39.              dimension (1+(N-1)*INCY) On entry, the vector y.  On exit, the
  40.              sines of the plane rotations.
  41.  
  42.      INCY    (input) INTEGER
  43.              The increment between elements of Y. INCY > 0.
  44.  
  45.      C       (output) REAL array, dimension (1+(N-1)*INCC)
  46.              The cosines of the plane rotations.
  47.  
  48.      INCC    (input) INTEGER
  49.              The increment between elements of C. INCC > 0.
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.